#ifndef _LOGIC_RIBBONPOSNSTATE_H_
#define _LOGIC_RIBBONPOSNSTATE_H_

#include "StateMachineState.h"
#include "RibbonPosnCtrlState.h"

// declared state machine class
typedef struct RibbonPosnStateMachine
{
    RibbonPosnCtrlStateMachine_Off   ribbonPosnCtrlStateMachineOff_;
    RibbonPosnCtrlStateMachine_On*   ribbonPosnCtrlStateMachineOn_;
    RibbonPosnCtrlStateMachine_Again ribbonPosnCtrlStateMachineAgain_;

    StateMachineBase sm_;
}RibbonPosnStateMachine;
extern void RibbonPosnStateEntry(void);
extern void RibbonPosnStateExcute(void);
extern void RibbonPosnStateExit(void);

// definition global state machine class
extern RibbonPosnStateMachine g_RibbonPosnStateMachine;
extern void InitRibbonPosnStateMachine(void);


#endif
